package com.gcd.gym.model;

import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter

public class Reserve {
    @ExcelProperty("ID")
    private Integer id;
    private Integer courseId;
    private Integer memberId;
    @ExcelProperty("预约状态")
    private Integer status;
    private Double score;
    private String comment;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime commentTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime reserveTime;
    private Coach coach;
    private Member member;
    private Course course;
}
